//
//  scrollView.m
//  releaseInterface
//
//  Created by Gamefire on 16/4/14.
//  Copyright © 2016年 Gamefire. All rights reserved.
//

#import "scrollView.h"
#import "Header.h"
#import "UpLoadImageConnectStarView.h"


#define kWindowWidth                        ([[UIScreen mainScreen] bounds].size.width)

#define kWindowHeight                       ([[UIScreen mainScreen] bounds].size.height)


@interface scrollView ()
{
    
}

@end


@implementation scrollView


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        UILabel *starlabel = [[UILabel alloc] initWithFrame:CGRectMake(0, -2, self.bounds.size.width,20)];
        [starlabel setBackgroundColor:uicolor(237, 237, 237)];
        [starlabel setText:@"   明星关联"];
        [starlabel setTextColor:uicolor(102, 102, 102)];
        [starlabel setFont:[UIFont systemFontOfSize:11.0]];
        [self addSubview:starlabel];
        
        [self setBackgroundColor:[UIColor whiteColor]];
        
        
        _connectView = [[UpLoadImageConnectStarView alloc] initWithFrame:CGRectMake(00, 27.0, WithView, 45.0)];
        [self addSubview:_connectView];
        
    }
    return self;
}






@end
